$f: 19.2;

.home {
  position: relative;
  width: 100%;

  .banner {
    position: relative;

    img {
      width: 100%;
      display: block;
      object-fit: cover;
    }

    .text {
      position: absolute;
      left: 190/$f+vw;
      top: 55%;
      transform: translateY(-50%);

      .p1 {
        background: linear-gradient(180deg, rgba(56, 110, 181, 0.50) 35.29%, rgba(255, 255, 255, 0.00) 84.31%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-size: 40/$f+vw;
        text-transform: uppercase;
        font-family: 'PingFang';
        font-weight: 600;
      }

      .p2 {
        color: #386EB5;
        font-size: 48/$f+vw;
        font-weight: 700;
        margin-top: -1vw;
      }
    }
  }

  .main{
    margin: 135/$f+vw 190/$f+vw;
    display: flex;
    justify-content: space-between;
    gap: 4%;
    .l{
      width: 70%;
      .t{
        color: #000;
        font-size: 38/$f+vw;
        font-weight: 600;
        line-height: 1.5;
      }
      .time{
        color: rgba(0,0,0,.5);
        font-size: 22/$f+vw;
        font-family: 'SourceHanSansCN-Light';
        border-bottom: 1px solid #CFCFCF;
        padding: 16/$f+vw 0 8/$f+vw 0;
      }
      .html{
        margin: 32/$f+vw 0;
        color: #464646;
        font-size: 20/$f+vw;
        line-height: 2;
        img{
          max-width: 100%;
        }
      }
      .pager{
        display: flex;
        justify-content: space-between;
        margin-top: 80/$f+vw;
        border-top: 1px solid #CFCFCF;
        padding-top: 40/$f+vw;
        a{
          width: 48%;
          .p1{
            color: #999;
            font-size: 18/$f+vw;
          }
          .p2{
            color: #000;
            font-size: 28/$f+vw;
            margin-top: 20/$f+vw;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            transition: all 600ms;
            &:hover{
              color: #1280C4;
            }
          }
        }
      }
    }
    .r{
      width: 30%;
      .t{
        color: #000;
        font-size: 24/$f+vw;
      }
      .list{
        margin-top: 28/$f+vw ;
        a{
          display: block;
          border-bottom: 1px solid #D9D9D9;
          padding: 20/$f+vw 0 30/$f+vw 0;
          position: relative;
          &::after{
            content:'';
            display: block;
            position: absolute;
            left: 0;
            bottom:0;
            width: 0;
            height: 1px;
            background: #386EB5;
            transition: all 600ms;
          }
          .time{
            color: #999;
            font-size: 30/$f+vw;
            position: relative;
            margin: 7/$f+vw 0 21/$f+vw 0;
            span{
              color:#000;
            }
          }
          .st{
            color:rgba(85, 85, 85, 1);
            font-size: 20/$f+vw;
          }
          .pic{
            overflow: hidden;
            img{
              width: 70%;
              display: block;
              object-fit: cover;
              border-radius: 5px;
              transition: all 600ms;
            }
          }
          &:hover{
            &::after{
              width: 100%;
            }
            .pic{
              img{
                transform: scale(1.05);
              }
            }
          }
        }
      }
    }
  }


  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      img{
        height: 150px;
      }
      .text{
        left: 5%;
        top:50%;
        .p1{
          font-size: 20px;
        }
        .p2{
          font-size: 20px;
          margin-top: -10px;
        }
      }
    }
    .main{
      margin: 40px 5%;
      flex-direction: column;
      .l{
        width: 100%;
        .t{
          font-size: 20px;
          line-height: 1.4;
        }
        .time{
          font-size: 16px;
          padding: 15px 0 5px 0;
        }
        .html{
          font-size: 16px;
          margin: 25px 0;
        }
        .pager{
          margin-top: 30px;
          padding-top: 15px;
          a{
            .p1{
              font-size: 16px;
            }
            .p2{
              font-size: 18px;
              margin-top: 10px;
            }
          }
        }
      }
      .r{
        width: 100%;
        margin-top: 30px;
        .t{
          font-size: 18px;
        }
        .list{
          margin-top: 25px;
          a{
            padding: 15px  0;
            .time{
              font-size: 18px;
              margin: 8px 0 15px 0;
            }
            .st{
              font-size: 16px;
            }
          }
        }
      }
    }
  }
}